package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.dto.CommodityPurchaseRestrictionDto;
import com.huilian.iotbox.data.dto.CommodityPurchaseRestrictionRecordDto;
import com.huilian.iotbox.data.vo.CommodityPurchaseRestrictionVo;

/**
 * @author LinYinDong
 * @date 2024/1/19 10:09
 */
public interface CommodityPurchaseRestrictionDao {
    int add(CommodityPurchaseRestrictionDto cpr);

    CommodityPurchaseRestrictionVo findOneCommodityPurchaseRestriction(CommodityPurchaseRestrictionDto commodityPurchaseRestrictionDto);

    int update(CommodityPurchaseRestrictionDto commodityPurchaseRestrictionDto);

    CommodityPurchaseRestrictionVo getOneCommodityPurchaseRestriction(CommodityPurchaseRestrictionRecordDto cprrd);
}
